﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm3.aspx.cs" Inherits="WebApplication1.WebForm3" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>
<body>
    <form id="form1" runat="server" class="container">
        <div>
            <h1>学生信息列表<small>BootstrapUI库</small></h1>
        </div>
        <table class="table table-hover">
            <thead>
                <tr class="warning">
                    <th>id</th>
                    <th>name</th>
                    <th>pwd</th>
                    <th>sex</th>
                    <th>time</th>
                    <th>tel</th>
                    <th>type</th>
                    
                </tr>
            </thead>
            <tbody>
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <tr class="success">
                            <td class="warning"><%#Eval("id") %></td>
                            <td><%#Eval("name") %></td>
                            <td class="warning"><%#Eval("pwd") %></td>
                            <td><%#Eval("sex") %></td>
                            <td class="warning"><%#Eval("time") %></td>
                            <td><%#Eval("tel") %></td>
                            <td class="warning"><%#Eval("type") %></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>

    </form>
</body>
</html>
